package com.dingup.paike.bean.querybean;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 时间区间
 * Created by wancheng on 2018/11/30.
 */
public class TimeInterval {

    private Date before;

    private Date after;

    private String userId;

    private String userName;

    private String type;

    private String hourBefore;

    private String hourAfter;

    private BigDecimal hour;

    public TimeInterval() {
    }

    public TimeInterval(Date before, Date after, BigDecimal hour) {
        this.before = before;
        this.after = after;
        this.hour = hour;
    }

    public TimeInterval(Date before, Date after) {
        this.before = before;
        this.after = after;
    }

    public TimeInterval(Date before, Date after, String type) {
        this.before = before;
        this.after = after;
        this.type = type;
    }

    public TimeInterval(Date before, Date after, String userId, String type) {
        this.before = before;
        this.after = after;
        this.userId = userId;
        this.type = type;
    }

    public Date getBefore() {
        return before;
    }

    public void setBefore(Date before) {
        this.before = before;
    }

    public Date getAfter() {
        return after;
    }

    public void setAfter(Date after) {
        this.after = after;
    }

    public BigDecimal getHour() {
        return hour;
    }

    public void setHour(BigDecimal hour) {
        this.hour = hour;
    }

    public String getHourBefore() {
        return hourBefore;
    }

    public void setHourBefore(String hourBefore) {
        this.hourBefore = hourBefore;
    }

    public String getHourAfter() {
        return hourAfter;
    }

    public void setHourAfter(String hourAfter) {
        this.hourAfter = hourAfter;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
}
